package com.zxe.noticeserver.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 公告
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Notice implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    //公告主题
    private String name;

    //顺序
    private Integer sort;

    //公告描述
    private String description;

    //可见范围 0:私密 1:公开
    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long createUser;

    private Long updateUser;
}
